{__NOLAYOUT__}
<div class="nav">
        <ul class="cc">
                <?php $submenus = include './submenu.php';
                $type = I("get.menutype",MODULE_NAME);
                ?>  
                <?php foreach($submenus[$type] as $r){
                $class = ($r['action'] == ACTION_NAME) ? 'class="current"':"";
          
                ?>
                <li {$class}><a href="{:U($r['url'],array('menuid'=>$_GET['menuid']))}">{$r.title}</a></li>
                <?php
                }?>

        </ul>
</div>